/**
 * Copyright (c) 2010
 * Bert Young. UESTC. 
 */

#ifndef BERT_NONCOPYABLE_H
#define BERT_NONCOPYABLE_H

class Noncopyable
{
protected:
	/**
	 * Constructor
	 */
	Noncopyable() {}
	/**
	 * Destructor
	 */
	~Noncopyable() {}
private:
	/**
	 * Avoid copy
	 */
	Noncopyable( const Noncopyable & );
	/**
	 * Avoid assignment
	 */
	Noncopyable & operator = ( const Noncopyable & );
};

#endif

